package com.example.cunwan_hd.Pojo;

import lombok.Data;

import java.util.Date;

@Data
public class ChatMessage {
    private String from;
    private String to;
    private String content;
    private Date time;
    private  int size;
    public ChatMessage(String from, String to, String content, Date time,int size) {
        this.from = from;
        this.to = to;
        this.content = content;
        this.time = time;
        this.size=size;
    }
}
